package com.maikang.exammall.repository;

import com.maikang.exammall.entity.Sale;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface SaleRepository extends BaseRepository<Sale, Long>, JpaSpecificationExecutor<Sale> {

    Sale findBySaleId(Long saleId);

    boolean existsBySaleId(Long saleId);
}